<?php
	class Setting_model extends CI_Model {
		function __construct(){
			parent::__construct();
		}
		function getSetting(){
			$setting=array();
			$query=$this->db->get('ask_setting');
			foreach($query->result() as $row){
				$setting[$row->k]=$row->v;
			}
			//print_r($setting);
			return $setting;
			
		}
	};
	
			
		